package com.zhome.gateway;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 *
 * @author cuiyh9
 * @date 2020/5/9
 */
@MapperScan("com.zhome.gateway.repository.mapper")
@EnableZuulProxy
@EnableScheduling
@SpringBootApplication
@EnableDiscoveryClient
@EnableDubbo
public class ZhomeGatewayApplication {

    public static void main(String[] args) {
        SpringApplication.run(ZhomeGatewayApplication.class, args);
    }

}
